package com.bcmusic.user.service;

import com.bcmusic.user.pojo.MusicianIdentification;
import com.github.pagehelper.PageInfo;

import java.util.List;

/****
 * @Author:admin
 * @Description:MusicianIdentification业务层接口
 * @Date 2019/6/14 0:16
 *****/
public interface MusicianIdentificationService {

    /***
     * MusicianIdentification多条件分页查询
     * @param musicianIdentification
     * @param page
     * @param size
     * @return
     */
    PageInfo<MusicianIdentification> findPage(MusicianIdentification musicianIdentification, int page, int size);

    /***
     * MusicianIdentification分页查询
     * @param page
     * @param size
     * @return
     */
    PageInfo<MusicianIdentification> findPage(int page, int size);

    /***
     * MusicianIdentification多条件搜索方法
     * @param musicianIdentification
     * @return
     */
    List<MusicianIdentification> findList(MusicianIdentification musicianIdentification);

    /***
     * 删除MusicianIdentification
     * @param id
     */
    void delete(Long id);

    /***
     * 修改MusicianIdentification数据
     * @param musicianIdentification
     */
    void update(MusicianIdentification musicianIdentification);

    /***
     * 新增MusicianIdentification
     * @param musicianIdentification
     */
    MusicianIdentification add(MusicianIdentification musicianIdentification);

    /**
     * 根据ID查询MusicianIdentification
     * @param id
     * @return
     */
     MusicianIdentification findById(Long id);

    /***
     * 查询所有MusicianIdentification
     * @return
     */
    List<MusicianIdentification> findAll();

    /**
     * 动态更新
     */
    MusicianIdentification updateSelective(MusicianIdentification musicianIdentification);
}
